﻿@{
    Layout = null;
    string entityName = Model.Name;
}@inherits  BuildCodeViewPage<TableInfo>
@@using @(Model.Namespace).DataEntity;
@@inherits CMSWebViewPage<@entityName>
@@{
    ViewBag.Title = "@Model.Description";
    Layout = "~/Views/Shared/_EditLayout.cshtml";
}
@@section Head{

}
<div class="easyui-layout" data-options="fit:true">
    <div data-options="region:'center',border:false">
        <div style="margin-bottom: 25px;">
            <div id="toolbar_@entityName.ToLower()" class="datagrid-toolbar top-tool">
                <a onclick="history.back();" class="easyui-linkbutton" data-options="iconCls:'icon-back',plain:true">返回</a>
            </div>
        </div>
        <table class="tblContent">
            <colgroup>
                <col class="colTitle" />
                <col class="colContent" />
            </colgroup>
        @foreach (var objColumnInfo in Model.ColumnInfos.Where(c => c.IsDisplay).ToList())
        { 
            <tr>
                <td>@objColumnInfo.Description:</td>
                <td>@@Model.@objColumnInfo.Name</td>
            </tr>
        }
        </table>
    </div>
</div>
@@section Bottom{

}

